package beavers.studio.golfberry.screens;

import net.rim.device.api.ui.component.Dialog;

public class RegisterDialog extends Dialog implements Runnable {
	public RegisterDialog(String[] data) {
		//
		super("Registering...", null, null, 0, null);
		
		//Create thread
		new Thread(this).start();
	}

	public void run() {
		//Get Start
		long Start = System.currentTimeMillis();
		
		//While not 2 seconds
		while (System.currentTimeMillis() - Start < 2000) {
			try {
				Thread.sleep(100);
			} catch (InterruptedException e) {}
		}
		
		close();
	}
}
